package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.equipment.domain.PatrolItemPlan;
import com.pureut.equipment.domain.dto.PatrolItemPlanDto;
import com.pureut.equipment.domain.vo.PatrolItemPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 *
 * Author:巡检计划mapper
 * Date:2023/04/26 10:44
 * @DESC
 */
@Mapper
public interface PatrolItemPlanMapper extends BaseMapper<PatrolItemPlan> {

    /**
     * 巡检计划列表
     */
    List<PatrolItemPlanDto> getDataList(PatrolItemPlanVo patrolItemPlanVo);

    /**
     * 检验是否存在巡检计划
     */
    List<PatrolItemPlanDto> selectPatrolItem(long id);
}
